// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class TimersLog : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<TimersLog, MasterDbContextLocator>
    {

        public int Id { get; set; }
        public string Theme { get; set; }
        public DateTime? CreateTime { get; set; }
        public string Note1 { get; set; }
        public string Note2 { get; set; }
        public string Note3 { get; set; }
    
        public void Configure(EntityTypeBuilder<TimersLog> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.Property(e => e.CreateTime).HasColumnType("datetime");

                entityBuilder.Property(e => e.Note1).HasMaxLength(1000);

                entityBuilder.Property(e => e.Note2).HasMaxLength(1000);

                entityBuilder.Property(e => e.Note3).HasMaxLength(1000);

                entityBuilder.Property(e => e.Theme).HasMaxLength(100);
        }

    }
}

